package com.zbkj.common.model.splittingAccount;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 商户佣金账号表
 * </p>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_merchant_account")
@ApiModel(value = "EbMerchantAccount对象", description = "商户佣金账号表")
public class EbMerchantAccount implements Serializable {


    private static final long serialVersionUID = -6913818714248412922L;
    @ApiModelProperty(value = "账户ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商户id")
    private String merId;

    @ApiModelProperty(value = "商户名称")
    private String merName;

    @ApiModelProperty(value = "账户金额")
    private BigDecimal balance;

    @ApiModelProperty(value = "可用金额")
    private BigDecimal availableBalance;

    @ApiModelProperty(value = "冻结金额")
    private BigDecimal frozenBalance;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}